﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EntityFramework.Data.Core
{
    /// <summary>
    /// 保存事件处理方式
    /// </summary>
    public class SavedEventArgs
    {
        private object item;
        private SaveAction saveAction;

        public SavedEventArgs(object entity, SaveAction saveAction)
        {
            this.item = entity;
            this.saveAction = saveAction;
        }
        
    }
    public enum SaveAction
    {
        Insert,
        Update,
        Delete
    }
}
